package org.lhh.server.core.codec.steps;

import com.mxgraph.model.mxCell;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.trans.TransMeta;
import org.pentaho.di.trans.step.StepMeta;
import org.pentaho.metastore.api.IMetaStore;
import org.w3c.dom.Element;

import java.util.List;

public interface StepEncoder {

	Element encodeStep(StepMeta stepMeta);

	StepMeta decodeStep(TransMeta transMeta, mxCell cell, List<DatabaseMeta> databases, IMetaStore metaStore);

}
